﻿using System.ComponentModel;
using WhereIam.Dbs;

namespace WhereIam.Entities
{
    public class Dept
    {
        public string IdDept { get; set; }

        [DisplayName("部门名称")]
        public string DeptName { get; set; }

        [DisplayName("部门描述")]
        public string DeptDiscription { get; set; }
    }

    public class DeptBll : DBCommon<Dept>
    {
        public override string TableName
        {
            get { return "Dept"; }
        }

        public override string PrimaryKey
        {
            get { return "IdDept"; }
        }

        public override string ConnKey
        {
            get { return "default"; }
        }

        public override string ParaF
        {
            get { return "@"; }
        }
    }
} 